from django.urls import path
from . import views

urlpatterns = [
    # /user/password/ 3、修改密码PUT   update
    path('user/password/', views.PasswordUpdateAPIView.as_view()),
    # /users/like/{id}/ 4、关注POST  create  5、取消关注DELETE    delete
    path('users/like/<id>/', views.LikeAPIView.as_view()),
    # /user/ 1、获取个人详情GET list  2、修改个人信息PUT update
    path('user/', views.UserRetrieveUpdateAPIView.as_view()),

]